FROM java:8

COPY *.jar /demo.jar

CMD ["--server.port=9997"]

EXPOSE 9997

ENTRYPOINT ["java", "-jar", "/demo.jar"]